package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.flea.hclv.model.entity.HAddress;
import com.flea.hclv.model.entity.HotelPolicy;

public interface HotelPolicyMapper {
    int deleteByPrimaryKey(String id);

    int insert(HotelPolicy record);

    int insertSelective(HotelPolicy record);

    HotelPolicy selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HotelPolicy record);

    int updateByPrimaryKey(HotelPolicy record);

	List<HotelPolicy> selectPagings(RowBounds rowBounds);

	List<HotelPolicy> selectPagingsCom(RowBounds rowBounds, @Param("orgId")String orgId);

	int deleteByPrimaryKeys(@Param("ids")List<String> idsArray);

	List<HotelPolicy> selectPagingsParams(RowBounds rowBounds, @Param("orgId")String orgId, @Param("queryName")String queryName, @Param("queryLevel")String queryLevel, @Param("address")List<HAddress> address);
}